package com.wjm.blog.system.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


/**
 * 操作日志信息表保存VO
 *
 * @author wjm
 * @version 1.0
 * @date 2023-10-18T14:34:39.188
 */
@Data
@ApiModel
public class SysOpLogSaveVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "client不能为空")
    @ApiModelProperty(value = "客户端", required = true)
    private String client;

    @NotBlank(message = "module不能为空")
    @ApiModelProperty(value = "模块名称", required = true)
    private String module;

    @NotBlank(message = "bizType不能为空")
    @ApiModelProperty(value = "业务类型", required = true)
    private String bizType;

    @NotBlank(message = "method不能为空")
    @ApiModelProperty(value = "方法名称", required = true)
    private String method;

    @NotBlank(message = "params不能为空")
    @ApiModelProperty(value = "请求参数", required = true)
    private String params;

    @NotBlank(message = "results不能为空")
    @ApiModelProperty(value = "请求结果", required = true)
    private String results;

    @NotBlank(message = "description不能为空")
    @ApiModelProperty(value = "", required = true)
    private String description;

    @NotBlank(message = "message不能为空")
    @ApiModelProperty(value = "", required = true)
    private String message;

}
